package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 新增对象 vendor_added
 * 
 * @author ruoyi
 * @date 2024-08-12
 */
public class VendorAdded extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 供应商名称 */
    private String vendorName;

    /** 联系人 */
    private String vendorContact;

    /** 联系地址 */
    private String vendorAddress;

    /** 联系电话 */
    private String vendorPhone;

    /** 供应商说明 */
    private String vendorIllustrate;

    /** 上传相关文件证书 */
    private String vendorCert;

    /** 供应商ID */
    private Long vaId;

    /** 创建供应商时间 */
    private Date addTime;

    /** 供应商评分 */
    private Long vendorScore;

//    //对象类型
//    private VendorAdded vendorAdded;
//
//    public VendorAdded getVendorAdded() {
//        return vendorAdded;
//    }
//
//    public void setVendorAdded(VendorAdded vendorAdded) {
//        this.vendorAdded = vendorAdded;
//    }

    public void setVendorName(String vendorName)
    {
        this.vendorName = vendorName;
    }

    public String getVendorName() 
    {
        return vendorName;
    }
    public void setVendorContact(String vendorContact) 
    {
        this.vendorContact = vendorContact;
    }

    public String getVendorContact() 
    {
        return vendorContact;
    }
    public void setVendorAddress(String vendorAddress) 
    {
        this.vendorAddress = vendorAddress;
    }

    public String getVendorAddress() 
    {
        return vendorAddress;
    }
    public void setVendorPhone(String vendorPhone) 
    {
        this.vendorPhone = vendorPhone;
    }

    public String getVendorPhone() 
    {
        return vendorPhone;
    }
    public void setVendorIllustrate(String vendorIllustrate) 
    {
        this.vendorIllustrate = vendorIllustrate;
    }

    public String getVendorIllustrate() 
    {
        return vendorIllustrate;
    }
    public void setVendorCert(String vendorCert) 
    {
        this.vendorCert = vendorCert;
    }

    public String getVendorCert() 
    {
        return vendorCert;
    }
    public void setVaId(Long vaId) 
    {
        this.vaId = vaId;
    }

    public Long getVaId() 
    {
        return vaId;
    }
    public void setAddTime(Date addTime) 
    {
        this.addTime = addTime;
    }

    public Date getAddTime() 
    {
        return addTime;
    }
    public void setVendorScore(Long vendorScore) 
    {
        this.vendorScore = vendorScore;
    }

    public Long getVendorScore() 
    {
        return vendorScore;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("vendorName", getVendorName())
            .append("vendorContact", getVendorContact())
            .append("vendorAddress", getVendorAddress())
            .append("vendorPhone", getVendorPhone())
            .append("vendorIllustrate", getVendorIllustrate())
            .append("vendorCert", getVendorCert())
            .append("vaId", getVaId())
            .append("addTime", getAddTime())
            .append("vendorScore", getVendorScore())
            .toString();
    }
}
